package com.web.shop.service;

import com.web.shop.pojo.TbContent;
import com.web.shop.pojo.TbContentCategory;

import java.util.List;



public interface ContentService {

	public List<TbContentCategory> findAllcate();

	public List<TbContent> findAll();

	public void add(TbContent content);

	public void update(TbContent content);

	public TbContent findOne(Long id);

	public void delete(Long id);
	/**
	 * 根据广告分类ID查询广告
	 */
	public List<TbContent> findByCategoryId(Long categoryId);
	
}
